FROM anapsix/alpine-java:8_server-jre_unlimited
LABEL Author=fhzn<fhzn@fhzncloud.com>

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    && mkdir -p /cloud-proj

WORKDIR /cloud-proj
ADD ./cloud-xtyf-proj/target/*.jar ./

EXPOSE 8030
CMD java -Djava.security.egd=file:/dev/./urandom -jar cloud-xtyf-proj-0.0.1-SNAPSHOT.jar
